package com.travel.model.enums;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
//订单状态枚举 待支付 已支付 已完成 已取消
@Getter
@RequiredArgsConstructor
@Schema(description = "Order status enumeration")
public enum OrderStatus {
    @Schema(description = "Order is pending payment")
    PENDING("待支付"),
    
    @Schema(description = "Order has been paid")
    PAID("已支付"),
    
    @Schema(description = "Order has been completed")
    COMPLETED("已完成"),
    
    @Schema(description = "Order has been cancelled")
    CANCELLED("已取消"),
    
    @Schema(description = "Order has been refunded")
    REFUNDED("已退款");

    private final String description;
} 